<?php

	class cmd_passport extends mdl_passport
	{
		//更新会员最后登录时间--alone
		function updateLastLoginTime($uname)
		{
			$updateSQL = 'UPDATE '.DB_PREFIX.'members set lastlogin='.time().' where uname=\''.$uname.'\'';
			$this->db->exec($updateSQL);
		}
	}

?>